package com.example.tokentest2_7_x.config.component;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * \* @author: wky
 * \* Date: 2022/10/09
 * \* Time: 9:45
 * \* To change this template use File | Settings | File Templates.
 * \* Description:调用此注解不需要验证token
 * \
 */

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface PassToken {
    boolean required() default true;
}